home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
itrns211.zip
/
LIB
/
TAMILMAX.MF
< prev
next >
Wrap
Text File
|
1991-08-16
|
18KB
|
447 lines
def tspecs =
if callchar = "k":
% cmchar "Tamil k";
charspec("k",1.5x_height#,x_height#,0);
top y2r=top y3r=top y4r=h;
bot y7=bot y11=0;
y1=y9=y5=.6x_height;
y8=.5y1; y10=.5y1;
y6=.3x_height;
y22=h;
x10=w-u; x8=w-x10;
x3=x5=.6[x8,x10];
x1=x2-.5hair=x22=.2[x8,x10]; x7=.25[x8,x10];
x6=x5;
x4=.9[x8,x10]; x11=.75[x8,x10]; x9=.65[x8,x10];
z21=z1; x101=x10+.6u; y101=y10;
%pickup crisp.nib;
pos1(tthinner,30); pos22(tthinner,30); pos2(.8tmed,90); pos4(.8tmed,90);
pos3(tthick,0); pos5(tthick,0); pos6(tthick,-10);
pos7(tthin,-60); pos8(tthinner,-180);pos21(tmed,-210);
pos9(tmed,-210); pos10(tthick,-340); pos11(tthin,-450);
pos101(tthickest,-340);
% show z1,z1r,z1l,z22,z22r,z22l;
filldraw stroke z1e--z22e;
filldraw stroke z2e--z4e;
x65=x11-.075w; y65=y11+.075h; pos65(tthinnest,-540);
filldraw stroke z3e...z5e...z6e{down}...{left}z7e...{up}z8e...{right}z21e
...z9e{right}...z10e{down}...{left}z11e...z65e;
penlabels(1,2,3,4,5,6,7,8,9,10,11,21);
% endchar;
elseif callchar = "c":
charspec("c",1.5x_height#,x_height#,0);
top y2r=top y3r=top y4r=h;
bot y7=bot y11=0;
y1=y9=y5=.6x_height;
y8=.5y1; y10=.5y1;
y6=.3x_height;
y22=h;
x10=w-u; x8=w-x10;
x3=x5=.6[x8,x10];
x1=x2-.5hair=x22=.2[x8,x10]; x7=.25[x8,x10];
x6=x5;
x4=.9[x8,x10]; x11=.75[x8,x10]; x9=.65[x8,x10];
z21=z1; x101=x10+.6u; y101=y10;
%pickup crisp.nib;
pos1(tthinner,30); pos22(tthinner,30); pos2(.8tmed,90); pos4(.8tmed,90);
pos3(tthick,0); pos5(tthick,0); pos6(tthick,-10);
pos7(tthin,-60); pos8(tthinner,-180);pos21(tmed,-210);
pos9(tmed,-210); pos10(tthick,-340); pos11(tthin,-450);
pos101(tthickest,-340);
% show z1,z1r,z1l,z22,z22r,z22l;
filldraw stroke z1e--z22e;
filldraw stroke z2e--z4e;
x25=x25r=x25l=x5; y25=y21; y25r=y21r; y25l=y21l;
filldraw stroke z3e...z5e...z6e{down}...{left}z7e...{up}z8e...{right}z21e---z25e;
penlabels(1,2,3,4,5,6,7,8,21,25);
% endchar;
elseif callchar = "1":
%cmchar "Tamil n dot";
charspec("1",3x_height#,x_height#,0);
%adjust_fit(0,0);
x1=x81=u; x6=.6x10; x8=.6[x1,x6]; x7=.5[x8,x6];
x5=.5[x1,x6]; x3=.5[x1,x8]; x4=x2=.5[x1,x3];
x9=.5[x8,x10]; x10=.7w; x12=.6[x8,x10]; x11=.5[x12,x10];
x13=rt x10r; x14=w-u; x15=x16=.5[x13,x14];
top y5r=top y9r=top y13r=y16=top y14r=h;
bot y4r=bot y7r=bot y11r=y15=0;
y2=y8=y6=y12=y10=.5h;
y81=y1=y3=.5y2;
pos1(tthinner,180); pos2(tthin,90); pos3(tthick,0); pos4(tthin,-90);
pos81(tthinner,-180); pos5(tmed,-270); pos6(tthicker,-360);
pos7(tmed,-450); pos8(tthin,-540); pos9(tmed,-630); pos10(tthicker,-720);
pos11(tmed,-810); pos12(tthin,-900); pos13(tthin,-990);
pos14(tthin,-990); pos15(tthicker,0); pos16(tthicker,0);
if dodraw:
filldraw stroke z1e...{right}z2e...{down}z3e...{left}z4e..z81e...{right}z5e
...{down}z6e...{left}z7e...{up}z8e...{right}z9e...{down}z10e
...{left}z11e...{up}z12e...{right}z13e; %---z14e;
fi
%filldraw stroke z15e---z16e;
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16);
elseif callchar = "p":
charspec("p",1.4x_height#,x_height#,0);
y1=y6=h; y2=y5=bot y3l=bot y4l=0;
lft x1l=lft x2l=x3=u;
rt x5r=rt x6r=x4=w-u;
pos1(tthick,0); pos2(tthick,0); pos3(tthin,90); pos4(tthin,90);
pos5(tthick,0); pos6(tthick,0);
filldraw stroke z1e---z2e;
filldraw stroke z3e---z4e;
filldraw stroke z5e---z6e;
penlabels(1,2,4,6);
elseif callchar = "n":
charspec("n",1.5x_height#,x_height#,.5x_height#);
x12=u; x11=x1=x2=x3=3u; x4=rt x9r=w-u;
x7=x5=x6=.4[x1,x9]; x8=.6[x7,x9]; x13=.6[x12,x11]; x10=.5[x7,x8];
y1=y6=y7=0; top y3r=top y4r=y2=y5=h;
y8=.55h; y9=.5y8; bot y13l=-d; y10=y11=-.3d; y12=.4[y10,y13];
pos1(tthinner,0); pos2(tthinner,0); pos3(tmed,90); pos4(tmed,90);
pos5(tthick,0); pos6(tthick,0); pos7(tthin,180); pos8(tthin,90);
pos9(tthick,0); pos10(tthin,-90); pos11(tthin,-90); pos12(tthinner,0);
pos13(tthick,45);
filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; filldraw stroke z5e--z6e;
%filldraw stroke z7e{up}...{right}z8e...{down}z9e...{left}z10e...{left}z11e...{down}z12e..z13e;
penlabels(1,2,4,5,6,8,9,10,11,12,13);
%endchar;
elseif callchar = "r":
charspec("?",1.125x_height#+2u#,x_height#,0);
lft x1l=lft x2l=x3=u; x4=w-u; x5=x6=.6w;
y1=y6=0; y2=y3=y4=y5=h;
pos1(tthinnest,0); pos2(tthinnest,0); pos3(tthin,90); pos4(tthin,90);
pos5(tthick,0); pos6(tthick,0);
filldraw stroke z1e---z2e; filldraw stroke z3e---z4e; filldraw stroke z5e---z6e;
penlabels(1,2,3,4,5,6);
elseif callchar = "r2":
charspec("?",.9x_height#+2u#,x_height#,0);
lft x1l=lft x2l=x3=u; x4=w-u; x5=x6=.6w;
y1=y6=0; y2=y3=y4=y5=h;
pos1(tthinnest,0); pos2(tthinnest,0); pos3(tthin,90); pos4(tthin,90);
pos5(tthick,0); pos6(tthick,0);
filldraw stroke z1e---z2e; filldraw stroke z3e---z4e; filldraw stroke z5e---z6e;
penlabels(1,2,3,4,5,6);
elseif callchar="y":
charspec("y",1.5x_height#,x_height#,0);
x1=x2=u; x8=x9=x10=w-u; x7=x4=x5=x6=.35[x1,x9]; x3=.35[x1,x5];
y9=y5=y1=h; y2=.3h; y4=.5h; bot y7l=bot y8l=bot y3l=y6=y10=0;
pos1(.8tmed,0); pos2(.8tmed,0); pos3(tthin,90); pos4(tthinner,180);
pos5(tthick,0); pos6(tthick,0); pos7(tthin,90); pos8(tthin,90);
pos9(tthick,0); pos10(tthick,0);
filldraw stroke z1e--z2e{down}...{right}z3e...{up}z4e;
filldraw stroke z5e--z6e; filldraw stroke z7e--z8e; filldraw stroke z9e--z10e;
penlabels(1,2,3,4,5,6,7,8,9,10);
%endchar;
elseif callchar="a":
charspec("a",2x_height#,x_height#,desc_depth#);
%adjust_fit(0,0);
x3=.5[x9,x11]; y1=.8h; y5=y12=h; y2=y4=y6=.6h; y3=.2h; x1=.45[x9,x11];
x4=x8=.4[x9,x11]; x2=.6[x9,x11]; x5=.6[x9,x11]; x6=.7[x9,x11]; x7=.8[x9,x11]; x11=x12=x13=w-u;
x9=u; x10=.15[x9,x11]; y8=y13=-d; y7=y3; y9=-.1d; y10=y11=0;
z20=z1;
pos1(hair,70); pos2(.8curve,0); pos3(hair,-90); pos4(hair,190);
pos5(hair,90); pos6(curve,0); pos7(tthickest,-20); pos8(tmed,-90);
pos9(hair,-180); pos10(hair,90); pos11(hair,90); pos12(.8curve,20);
pos13(.8curve,20);pos20(hair,135);
filldraw stroke z1e...z2e...z3e...z4e...z20e...z5e...{down}z7e...{left}z8e...{up}z9e...z10e---z11e;
filldraw stroke z12e---z13e;
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13);
elseif callchar="v":
charspec("v",1.5x_height#,x_height#,0);
x1=x81=u; x6=.6[x1,x9]; x8=x9=x10=w-u; x7=.4[x5,x6];
x5=.5[x1,x6]; x3=.4[x1,x6]; x2=x4=.5[x1,x3];
y2=.5h; y1=y3=y81=.5y2; bot y4r=bot y7r=bot y8r=0;
top y5r=y10=h; y9=0; y6=.5h;
pos1(tthinner,180); pos2(tthin,90); pos3(tthick,0); pos4(tthin,-90);
pos81(tthin,-180); pos5(tmed,-270); pos6(tthick,-360); pos7(tthick,-450);
pos8(tthick,-450); pos9(tthick,0); pos10(tthick,0);
filldraw stroke z1e..z2e..z3e..z4e..z81e..z5e...{down}z6e...{left}z7e;
filldraw stroke z7e--z8e; filldraw stroke z9e--z10e;
penlabels(1,2,3,4,5,6,7,8,9,10);
elseif callchar="l":
charspec("l",1.5x_height#,x_height#,0);
x81=u; x9=w-u; x6=x7=.55[x81,x9]; x8=x10=.5[x6,x9]; x1=.1[x81,x6];
x5=.5[x81,x6]; x3=.4[x1,x6]; x2=x4=.5[x1,x3];
y81=y2=.5h; y1=y3=.5y2; bot y4r=bot y8l=0;
top y5r=h; top y10l=h; y9=.5h; y6=.6h; y7=.4h;
pos1(tthinner,180); pos2(tthin,90); pos3(tmed,0); pos4(tthin,-90);
pos81(tthin,-180); pos5(tmed,-270); pos6(tthick,-360); pos7(tthick,-360);
pos8(tmed,-270); pos9(tthin,-180); pos10(tmed,-120);
%filldraw stroke z4e...z1e..z2e..z3e..z4e...{up}z81e..z5e...{down}z6e--z7e{down}...{right}z8e...{up}z9e..z10e;
penlabels(1,2,3,4,5,6,7,8,9,10);
elseif callchar="m":
charspec("m",1.6x_height#,x_height#,0);
lft x1l=lft x2l=x3=u;
rt x5r=w-u; x8=x7=.5w;
x6=.3[x8,x5]; x4=.8[x8,x5];
y1=top y6r=h;
y2=bot y3r=bot y4r=y8=0;
y5=.5h; y7=.8h;
pos1(tthick,0); pos2(tthick,0);
pos3(tthin,-90); pos4(tthin,-90);
pos5(tthinner,0); pos6(tmed,90);
pos7(tthick,180); pos8(tthick,180);
filldraw stroke z1e---z2e;
filldraw stroke z3e---z4e...{up}z5e...{left}z6e...{down}z7e---z8e;
penlabels(1,2,4,5,6,7,8);
elseif callchar="T":
charspec("7",1.75x_height#,x_height#,0);
lft x1l=lft x2l=x3=u; x4=w-u;
y1=h; y2=bot y3l=bot y4l=0;
pos1(tthick,0); pos2(tthick,0);
pos3(tthin,90); pos4(tthin,90);
filldraw stroke z1e---z2e;
filldraw stroke z3e---z4e;
penlabels(1,2,4);
elseif callchar="L":
charspec("9",1.75x_height#,x_height#,0);
x81=x1=u; x6=x7=x8=x9=.55w; x11=x12=.8w; x10=w-u;
x3=x5=.5[x1,x6]; x2=x4=.5[x1,x3];
bot y4r=y6=y7=y11=0; top y5r=y8=top y9r=top y10r=y1